package com.njtoyo.taxi.admin.service.business.operation_rule;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.njtoyo.taxi.admin.mapper.master.entity.PrivateCallApplyRecord;
import com.njtoyo.taxi.admin.rest.presenter.business.operation_rule.privacy_number_report.PrivacyNumberReportPagePresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.privacy_number_report.PrivacyNumberReportAddUpdateWrapper;
import com.njtoyo.taxi.entity.backend.AdminUser;
import com.taxi.entity.common.RestResult;
import org.springframework.util.MultiValueMap;

import java.util.Map;

/**
 * @author mdf
 * @title: PrivacyNumberReportService
 * @description: TODO
 * @date 2025/4/15 13:33
 */
public interface PrivacyNumberReportService {
    IPage<PrivacyNumberReportPagePresenter> page(Integer current, Integer size, Map<String, String> params);

    RestResult add(PrivacyNumberReportAddUpdateWrapper wrapper, AdminUser adminUser);

    PrivateCallApplyRecord selectByPhoneNumber(Long id,String phoneNumber);

    RestResult total();

    RestResult getDetailById(String id);

    RestResult update(PrivacyNumberReportAddUpdateWrapper wrapper, AdminUser adminUser);

    IPage<PrivacyNumberReportPagePresenter> unApplyPage(Integer current, Integer size, Map<String, String> params);
}
